import FormContext from './context';
import React from 'react';

export default function Form(props) {
  return (
    <form>
      <FormContext.Provider value={props.form}>
        {props.children}
      </FormContext.Provider>
    </form>
  );
}
